export const drObj = {
  //自定义节流操作
  preventReClick: {
    mounted(el: any, binding: any) {
      el.addEventListener("click", () => {
        if (!el.disabled) {
          el.disabled = true;
          setTimeout(() => {
            el.disabled = false;
          }, binding.value || 3000); //2000ms间隔时间
        }
      });
    },
  },
};
